#!/usr/bin/env python

from autorm.fields import *
import component

class Title(component.Model):
    '''Title class
    
    @author Julot <andy.julot@gmail.com>
    @since Wednesday, January 25, 2012. 06:09 PM'''
    
    class Meta:
        '''Meta Class for Title'''
        
        table = 'titles'
        pk = 'id'
        fields = [IdField('id'),
                  IntegerField('animeId', index=True),
                  TextField('type', 255),
                  TextField('language', 255),
                  TextField('value', 255, index=True)]
    
    